package com.my.xl.salary.billdemo.mapper;

import com.my.xl.salary.billdemo.pojo.SalaryBill;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Mapper
public interface SalaryBillMapper {

    //查询工资
    SalaryBill checkSalary(Map map);
    //查询导出的数据
    List<SalaryBill> checkExportData(Map map);

    List<SalaryBill> checkExportData2(Map<String, Object> map);
    //插入数据
    int insert(SalaryBill record);

    SalaryBill isExist(Map<String, Object> map);

    int updateBill(SalaryBill s);


     /*int deleteByPrimaryKey(Integer id);
    int insertSelective(SalaryBill record);
    SalaryBill selectByPrimaryKey(Integer id);
    int updateByPrimaryKeySelective(SalaryBill record);
    int updateByPrimaryKey(SalaryBill record);*/


}